<?php
function display_projectibox($project, $requestContext)
{
	$sessionInfo = $requestContext->sessionInfo;
?>
							<div class="accordion" id="projectInfo_<?php echo $project->sid; ?>">
								<div class="accordion-group">
									<div class="accordion-heading">
										<a class="accordion-toggle" data-toggle="collapse" data-parent="#projectInfo_<?php echo $project->sid; ?>" href="#projectDetails_<?php echo $project->sid; ?>">
											<?php echo $project->name; ?> | <?php echo datetime_format_convert($project->planStartDate, FORMAT_DATE_ISO, $sessionInfo->userInfo['dateFormat']) 
													. ' ~ ' . datetime_format_convert($project->planEndDate, FORMAT_DATE_ISO, $sessionInfo->userInfo['dateFormat']); ?>
										</a>
									</div>
									<div id="projectDetails_<?php echo $project->sid; ?>" class="accordion-body collapse">
										<div class="accordion-inner">
											<p><b><?php echo $project->goal; ?></b></p>
											<p><?php echo $project->description; ?></p>
											<p>Required Skills: <?php echo $project->requiredSkillTagNames; ?></p>
										</div>
									</div>
								</div>
							</div>
<?php
}
?>

